package prickworlds.structure;


/**
 * Base interface for mouse or key events, that are used to tell a class that an event happened
 * @author Faruk Acibal, Richard Dziambor, Christian Holzreuter, Nicolas Winkler
 *
 */
public interface Event {
	
	/**
     * invalidates the event (consumes it)
     */
	public void invalidate();
	
	/**
     * returns true if the event is valid, which means, he has
     * never been invalidated
     */
    public boolean isValid();
}
